gui/macOS: Use explicit type in connections array arg
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Wed, 26 Mar 2025 12:34:59 +0000 (13:34 +0100)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Thu, 27 Mar 2025 14:16:05 +0000 (14:16 +0000)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
src/gui/macOS/fileproviderxpc_mac_utils.h
src/gui/macOS/fileproviderxpc_mac_utils.mm

index f66d585f6375a94ff16543ebfd7bb0d8d82fff86..00b70c9e09134e9984966cbd7d5f4eb4f5e20be5 100644 (file)
@@ -29,6 +29,6 @@ NSArray<NSXPCConnection *> *connectToFileProviderServices(NSArray<NSDictionary<N
 void configureFileProviderConnection(NSXPCConnection *connection);
 NSObject *getRemoteServiceObject(NSXPCConnection *connection, Protocol *protocol);
 NSString *getExtensionAccountId(NSObject<ClientCommunicationProtocol> *clientCommService);
-QHash<QString, void*> processClientCommunicationConnections(NSArray *connections);
+QHash<QString, void*> processClientCommunicationConnections(NSArray<NSXPCConnection *> *connections);
 
 }
\ No newline at end of file
index 2d94f1f21799a11a28fdc2d18b6f577515b05021..4549f4853af295a7e5a0775972004fcc7e2c0a7f 100644 (file)
@@ -249,7 +249,7 @@ NSString *getExtensionAccountId(NSObject<ClientCommunicationProtocol> *const cli
     return extensionNcAccount;
 }
 
-QHash<QString, void*> processClientCommunicationConnections(NSArray *const connections)
+QHash<QString, void*> processClientCommunicationConnections(NSArray<NSXPCConnection *> *const connections)
 {
     QHash<QString, void*> clientCommServices;